package cn.hwadee.muying.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import cn.hwadee.muying.commons.base.BaseModel;

/**
 * <p>
 * 关怀记录
 * </p>
 *
 * @author SuWuqiang
 * @since 2018-08-08
 */
@TableName("care_record")
public class CareRecord extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 所属机构id
     */
    @TableField("org_id")
        
    private Long orgId;
    /**
     * 发送职员id
     */
    @TableField("worker_id")
        
    private Long workerId;
    /**
     * 接收用户id
     */
    @TableField("receive_id")
        
    private Long receiveId;
    /**
     * 发送状态
     */
        
    private Boolean status;
    /**
     * 发送方式
     */
        
    private String way;
    /**
     * 发送内容
     */
        
    private String content;

    public String getClientAccount() {
        return clientAccount;
    }

    public void setClientAccount(String clientAccount) {
        this.clientAccount = clientAccount;
    }

    @TableField(exist = false)
    private String clientAccount;

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    @TableField(exist = false)
    private String clientName;

    public String getWorkerName() {
        return workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName;
    }

    @TableField(exist = false)
    private String workerName;

    public String getSendDate() {
        return sendDate;
    }

    public void setSendDate(String sendDate) {
        this.sendDate = sendDate;
    }

    @TableField(exist = false)
    private String sendDate;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    @TableField(exist = false)
    private String result;

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Long workerId) {
        this.workerId = workerId;
    }

    public Long getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(Long receiveId) {
        this.receiveId = receiveId;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getWay() {
        return way;
    }

    public void setWay(String way) {
        this.way = way;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public static final String ORG_ID = "org_id";

    public static final String WORKER_ID = "worker_id";

    public static final String RECEIVE_ID = "receive_id";

    public static final String STATUS = "status";

    public static final String WAY = "way";

    public static final String CONTENT = "content";

    @Override
    public String toString() {
        return "CareRecord{" +
                ", orgId=" + orgId +
                ", workerId=" + workerId +
                ", receiveId=" + receiveId +
                ", status=" + status +
                ", way=" + way +
                ", content=" + content +
        "}";
    }
}
